package com.yf.activity.service.impl;

import com.yf.activity.domain.DrMemberFavourable;
import com.yf.activity.mapper.DrMemberFavourableDAO;
import com.yf.activity.service.ActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ActivityServiceImpl implements ActivityService {

    @Autowired private DrMemberFavourableDAO memberFavourableDAO;

    @Override
    public List<DrMemberFavourable> getMemberFavourableByUid(Integer uid) {
        return memberFavourableDAO.getMemberFavourableListByUid(uid);
    }
}
